package com.tanhua.manage.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author Au
 * @DATE 2020/12/13 18:50
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
@TableName("tb_admin_user")
public class AdminUser extends BasePojo implements Serializable {
    private Long id;
    private String userName;
    @JsonIgnore
    private String passWord;
    private String phone;
    private String roleId;
    private String avatar;
    @TableField(exist = false)
    private String roleName;
}
